import { ApplicationConfig, importProvidersFrom } from '@angular/core';
import { provideRouter } from '@angular/router';

import { routes } from './app.routes';
import { provideNgxs } from './store';
import { provideAnimations } from '@angular/platform-browser/animations';
import { SharedModule } from './shared/shared.module';
import { provideNzI18n, zh_CN } from 'ng-zorro-antd/i18n';

export const appConfig: ApplicationConfig = {
  providers: [
    provideRouter(routes),
    provideAnimations(),
    importProvidersFrom(SharedModule),
    provideNzI18n(zh_CN),
    provideNgxs(),
  ],
};
